package com.mryang.ladder;

import java.util.Scanner;

/**
 * @ClassName L1_010
 * @Description TODO 输入的任意3个整数从小到大输出
 * @Author Genius
 * @Date 2021/1/25 16:57
 */
public class L1_010 {
    public static void main(String[] args) {
        Scanner scr = new Scanner(System.in);
        int[] number = new int[3];
        for (int i = 0; i < 3; i++) {
            number[i] = scr.nextInt();
        }
        int max = number[0];  // 3,1,5
        for (int i = 1; i < 3; i++) {
            if(max < number[i]){
                System.out.print(max+"->");
                max = number[i];
            }else {
                System.out.print(number[i]+"->");
            }
            if(i==2){
                System.out.println(max);
            }
        }
    }
}
